import java.awt.Color;
import java.awt.Graphics;


public class GoalCircle extends GoalSprite {
	private CircleGraphic image;
	public GoalCircle(String n, int r, Color c)
	{
		image = new CircleGraphic(n,r,c);
		
	}
	@Override
	public void drawSprite(Graphics g, int x, int y) {
		x -= (double)(xDistance)*(1-(double)(moveCount)/24);
		y -= (double)(yDistance)*(1-(double)(moveCount)/24);
		image.draw(g,x,y);
		moveCount++;
	}

}
